
* 	{
	box-sizing: border-box;
}

body 	{
	background-color: #061d54;
	background-image: linear-gradient(to bottom right, #008fff, #061d54);
	padding: 10px;
}


/* General text formatting */
h1 	{
	text-align: center;
	text-shadow: 1px 1px 0px #99d2ff, 1px -1px 0px #99d2ff, -1px -1px 0px #99d2ff, -1px 1px 0px #00b80e;
	font-size:4em;
	font-family: Arvo;
}

h2	{
	text-align: center;
	font-size:2em;
	font-family: Arvo;
}

h3	{
	text-align: center;
	font-size: 1.5em;
	font-family: Arvo;
}

p	{
	font-size:1.2em;
	font-family: "Times New Roman", Times, sans-serif;
}

hr {
	width: 100%; 
	background-color: black; 
	height: 2px;
}


/* Topnav styling */
.topnav {
	margin: 0%;
	padding: 0%;
  	overflow: hidden;
 	background-color: #061d54;
	color:#f2f2f2;
	width: 100%;
	justify-content: center;
	display: flex;
	flex-wrap: nowrap;
}

.topnav a, .dropdown {
  	float: left;
  	display: flex;
	flex-wrap: nowrap;
  	color: inherit;
  	padding: 0;
  	text-decoration: none;
	margin: 0;
	width: 100%;
	align-items: center;
	justify-content: center;
	min-height: 50px;
}


.topnav a:hover, .dropdown:hover .dropbtn, .dropdown-content a:hover {
  	background-color: #00ffb0;
  	color: black;
}


/* Dropdown menu stuff */
.dropdown {
  float: left;
  display: block;
  flex-wrap: nowrap;
  overflow: hidden;
  width: 100%;
}

/* dropdown button */
.dropdown .dropbtn {
  font-size: inherit;
  border: none;
  outline: none;
  background-color: inherit;
  color: inherit;
  width: 100%;
  height: 100%;
  font-family: inherit; 
}


.dropdown-content {
  display: none;
  position: absolute;
  width: max-content;
  background-color: #061d54;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: #f2f2f2;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}


.dropdown:hover .dropdown-content {
  display: flex;
  flex-direction: column;
}


/*Posts and card separators */
.row	{
	display: flex;
  	flex-wrap: wrap;
}


.col.intro {
	background-color: #061d54;
	max-width: 80%;
	-ms-flex: 80%;
	flex: 80%;
	margin-bottom: 2%;
	margin-left: 10%;
}


.col.main {
	background-color: #061d54;
	max-width: 100%;
	-ms-flex: 100%;
	flex: 100%;
}

.card.intro {
	background-color:#f7fbff;
	padding: 0.5%;
	margin: 1.5%;
}


.card.main, .moreposts {
	background-color: #f7fbff;
	padding: 0.5%;
	margin: 2%;
}

.moreposts {
	display: none;
}

.card.morebutton {
	background-color: #061d54;
	padding: 0.5%;
	margin: 2%;
	display: block;
	text-align: center;
}

.morebutton {
	font-size: inherit;
  border: none;
  outline: none;
  background-color: #4eb1ff;
  color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
  min-height: 50px;
  min-width: 200px;
}

.card.morebutton:hover .morebutton {
	background-color: #00ffb0;
  color: black;
}

.row::after {
  content: "";
  display: table;
  clear: both;
}

.form {
	width: 100%;
}

.footer {
	background-color: #061d54;
	color: white; 
	padding: 1%;
	width: 100%;
	margin-left: 0%;
	clear: both;
	text-decoration: none;
	margin-top: 1%;
	text-align: left;
}

.footer p {
	font-size: 1.2em;
}

.footer a {
	color: #00ffb0}



/* Image Container for post headings */
.imgcontainer {
	width: 100%;
	height: 50vh;
	overflow: hidden;
	float: left;
	margin-bottom:0.5%;
	display:flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

.imgcontainer img {
	flex-shrink: 0;
	min-width: 100%; 
	max-width: 100%;
	min-height: 100%;
	max-height: 100%;
	object-fit: cover; 
}


/* Links */
a {
  color: #061d54;
  text-decoration: underline;
}

a:active{
  color:#00ffb0; 
  -webkit-tap-highlighy-color: #00ffb0; 
}

/* Class tags */

#moreposts {
	display: none;
}


/* Form Area */
.commentarea {
	background-color: #f7fbff;
	padding: 0.5%;
	margin: 2%;
}

.commentbutton {
	font-size: inherit;
  border: none;
  outline: none;
  background-color: #4eb1ff;
  color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
  min-height: 50px;
  min-width: 200px;
}



/* Responsivity - change font sizes*/
@media screen and (max-width: 900px) {
	.row {
		flex-direction: column;
		gap:1em;
		flex-wrap: nowrap;
	}

h1 	{
	text-align: center;
	font-size:3em;
}

h2 {font-size: 1em;}

.imgcontainer {height: 10vh;}

p {font-size: 0.8em;}

.footer p {
	font-size: 1.0em;
}


}

/* Responsivity - collapse navbar into a column */
@media screen and (max-width: 640px) {

	.topnav {
	display:block;
}
	.topnav a {
	width: 100%;
	float: none;
}

	.topnav .dropdown {float: none; display: block; min-height: 50px;}
 	.topnav .dropdown-content {position: relative;
				width: 100%;
				justify-content: center;
				text-align: center;}
  	.topnav .dropdown .dropbtn {
    display: block;
    width: 100%;
    min-height: 50px;
  }
}
